com.supermap.plot
Class AnimationBlink
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.plot.AnimationGO
-
- com.supermap.plot.AnimationBlink
-
public class AnimationBlink extends AnimationGO
Blink animation
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Color
getBlinkAnimationReplaceColor()
Gets the switched colorsColor
getBlinkAnimationStartColor()
Gets the starting switched colorsdouble
getBlinkInterval()
Gets the blink intervalint
getBlinkNumberofTimes()
Gets the blink times in a specific timeAnimationDefine.BlinkAnimationBlinkStyle
getBlinkStyle()
Gets the blink types such as blink an animation according to times or intervalsAnimationDefine.BlinkAnimationReplaceStyle
getReplaceStyle()
Returns whether to switch colors or notvoid
setBlinkAnimationReplaceColor(Color replacecolor)
Sets the switched colorsvoid
setBlinkAnimationStartColor(Color replacecolor)
Sets the starting switched colorsvoid
setBlinkInterval(double blinkinterval)
Sets the blink intervalvoid
setBlinkNumberofTimes(int blinkNumber)
Sets the blink times in a specific timevoid
setBlinkStyle(AnimationDefine.BlinkAnimationBlinkStyle type)
Sets the blink types such as blink an animation according to times or intervalsvoid
setReplaceStyle(AnimationDefine.BlinkAnimationReplaceStyle type)
Sets whether to switch colors or not-
Methods inherited from class com.supermap.plot.AnimationGO
dispose, fromXml, getAnimationType, getDuration, getGeometry, getLayerName, getName, getStartTime, setDuration, setGeometry, setName, setStartTime, toXml
-
-
-
-
Method Detail
-
getBlinkInterval
public double getBlinkInterval()
Gets the blink interval- Returns:
- the blink interval
-
setBlinkInterval
public void setBlinkInterval(double blinkinterval)
Sets the blink interval- Parameters:
blinkinterval
- the blink interval
-
getBlinkNumberofTimes
public int getBlinkNumberofTimes()
Gets the blink times in a specific time- Returns:
- the blink times
-
setBlinkNumberofTimes
public void setBlinkNumberofTimes(int blinkNumber)
Sets the blink times in a specific time- Parameters:
blinkNumber
- the blink times
-
getBlinkStyle
public AnimationDefine.BlinkAnimationBlinkStyle getBlinkStyle()
Gets the blink types such as blink an animation according to times or intervals- Returns:
- the blink types
-
setBlinkStyle
public void setBlinkStyle(AnimationDefine.BlinkAnimationBlinkStyle type)
Sets the blink types such as blink an animation according to times or intervals- Parameters:
type
- the blink types
-
getReplaceStyle
public AnimationDefine.BlinkAnimationReplaceStyle getReplaceStyle()
Returns whether to switch colors or not- Returns:
- Switches colors or not
-
setReplaceStyle
public void setReplaceStyle(AnimationDefine.BlinkAnimationReplaceStyle type)
Sets whether to switch colors or not- Parameters:
type
- Whether to switch colors when blinking an animation
-
setBlinkAnimationReplaceColor
public void setBlinkAnimationReplaceColor(Color replacecolor)
Sets the switched colors- Parameters:
replacecolor
- the switched colors
-
getBlinkAnimationReplaceColor
public Color getBlinkAnimationReplaceColor()
Gets the switched colors- Returns:
- the switched colors
-
setBlinkAnimationStartColor
public void setBlinkAnimationStartColor(Color replacecolor)
Sets the starting switched colors- Parameters:
replacecolor
- the first color
-
getBlinkAnimationStartColor
public Color getBlinkAnimationStartColor()
Gets the starting switched colors- Returns:
- the first colors
-
-